<meta charset="utf-8">
<style>
    span{
        color:red;
    }
</style>
<script>
    var i = 25;
    var year = 2012;
    while(i<=1000){
        i=i*1.25;
        year++;
        document.write(year+"年培养:<span>"+Math.round(i)+"</span>万人<br/>");
    }
</script>